package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单执行列对象 t_srm_work_order
 * 
 * @author wuym
 * @date 2021-08-08
 */
public class TSrmWorkOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** MES工单号 */
    @Excel(name = "MES工单号")
    private String srmNo;

    /** 生产订单号 */
    @Excel(name = "生产订单号")
    private String moCode;

    /** 生产订单行号 */
    @Excel(name = "生产订单行号")
    private String moSortSeq;

    /** 存货编码 */
    @Excel(name = "存货编码")
    private String invCode;

    /** 存货名称 */
    @Excel(name = "存货名称")
    private String invName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String invStd;

    /** 工单状态 */
    @Excel(name = "工单状态")
    private String workStatus;

    /** 检验类型 */
    @Excel(name = "检验类型")
    private String type;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getSrmNo() {
        return srmNo;
    }

    public void setSrmNo(String srmNo) {
        this.srmNo = srmNo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setMoCode(String moCode)
    {
        this.moCode = moCode;
    }

    public String getMoCode() 
    {
        return moCode;
    }
    public void setMoSortSeq(String moSortSeq) 
    {
        this.moSortSeq = moSortSeq;
    }

    public String getMoSortSeq() 
    {
        return moSortSeq;
    }
    public void setInvCode(String invCode) 
    {
        this.invCode = invCode;
    }

    public String getInvCode() 
    {
        return invCode;
    }
    public void setInvName(String invName) 
    {
        this.invName = invName;
    }

    public String getInvName() 
    {
        return invName;
    }
    public void setInvStd(String invStd) 
    {
        this.invStd = invStd;
    }

    public String getInvStd() 
    {
        return invStd;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }

    public String getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(String workStatus) {
        this.workStatus = workStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("srmNo", getSrmNo())
            .append("moCode", getMoCode())
            .append("moSortSeq", getMoSortSeq())
            .append("invCode", getInvCode())
            .append("invName", getInvName())
            .append("invStd", getInvStd())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("workStatus", getWorkStatus())
            .append("type", getType())
            .append("supplier", getSupplier())
            .toString();
    }
}
